package com.lyf.scm.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * description
 *
 * @author wangchlei
 * @date 2020/11/10
 */
@Data
@ApiModel("ES导出DTO")
public class EsExportAggregationDTO {
    @ApiModelProperty("分组列集合")
    private List<String> groupColumns;
    @ApiModelProperty("聚合列集合")
    private List<String> sumColumns;
    @ApiModelProperty("查询参数")
    private EsQueryDTO esQuery;
    @ApiModelProperty("时间集合")
    private List<String> dateList;
    @ApiModelProperty("下一次的分组条件，默认为空串")
    private String afterKey;
    @ApiModelProperty("页码")
    private Integer pageNum;
    @ApiModelProperty("每页数")
    private Integer pageSize;
    @ApiModelProperty("单位类型")
    private Long unitType;
}
